package com.yansu.cloud.feign;

import org.springframework.stereotype.Component;

import com.yansu.cloud.bean.User;

/**
 * 
 * @author 言肃
 * @email yansu_code@126.com
 * @version 1.0
 * @date Aug 3, 2018 1:09:50 PM
 */
@Component
public class UserFeignHystrixClientFallBack implements UserFeignHystrixClient {

	@Override
	public User findById(Long id) {
		User user = new User();
		user.setId(0L);
		return user;
	}

}
